6
1 1 0 0 4 2
0 square
1 tri
2 noise
3 sine
4 ptri